<template>
    <div class="productlist">
        <div class="productlist_input">
            <el-input v-model="input" placeholder="商品名称" />
            <el-row >
                <el-button type="primary" disabled >查询</el-button>
                <el-button type="primary" disabled >添加</el-button>
                <el-button type="primary" disabled >重置</el-button>
            </el-row>
        </div>
        <el-table :data="tableData" border style="width: 100%">
            <el-table-column prop="date" label="ID" />
            <el-table-column prop="name" label="订单号" />
            <el-table-column prop="address" label="下单时间" />
            <el-table-column prop="orderNumber" label="收货人" />
            <el-table-column prop="orderAmount" label="订单金额" />
            <el-table-column prop="orderStatus" label="订单状态" />
        </el-table>
    </div>
</template>
  
<script lang="ts" setup>
import { ref } from 'vue'

const tableData = [
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    },
    {
        date: '123',
        name: '20235020120327',
        address: '6666666',
        orderNumber: '超虚',
        orderAmount: '9999999',
        orderStatus: '未付款'
    }
]

const input = ref('')
</script>

<style scoped lang="scss">
.productlist_input {
    padding: 10px;
    display: flex;
    align-items: center;

    .el-input {
        width: 200px;
        margin-right: 5px;
    }

    .el-input__wrapper {}
}

.el-table_1_column_1 {
    flex: 1
}

.productlist {
    width: 100%;
    height: 100%;
    background-color: #fff;
}
</style>